// 导入axios
import request from '@/utils/request'

export const loginFn = (data) => {
  return request({
    url: 'admin/login',
    method: 'POST',
    data
  })
}